Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec

Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec
Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec

The Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec schema contains information to create a NumberOfHostsPlusOneForMaintenance policy, used to define a VM placement constraint, see POST /vcenter/compute/policies.

The powered-on virtual machines in a vCenter cluster that share the tag indicated by Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.vm_tag will be on at most Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.number_of_hosts number of hosts. When one of these hosts is entering maintenance-mode, then until that host has entered maintenance-mode, these virtual machines will be on at most Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.number_of_hosts plus one number of hosts.

This schema was added in vSphere API 9.0.0.0.

AllOf
This class requires all of the following:
JSON Example
{
    "capability": "string",
    "name": "string",
    "description": "string",
    "vm_tag": "string",
    "number_of_hosts": 0
}
string
vm_tag
Required

Identifier of a tag that can be associated with a virtual machine.

Powered-on virtual machines in a vCenter cluster that share the tag indicated by Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.vm_tag will be on at most Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.number_of_hosts number of hosts. When one of these hosts is entering maintenance-mode, then until that host has entered maintenance-mode, these virtual machines will be on at most Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.number_of_hosts plus one number of hosts.

This property was added in vSphere API 9.0.0.0.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine.

integer As int64 As int64
number_of_hosts
Required

Placement of virtual machines will consider at most Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.number_of_hosts number of hosts.

Powered-on virtual machines in a vCenter cluster that share the tag indicated by Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.vm_tag will be on at most Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.number_of_hosts number of hosts. When one of these hosts is entering maintenance-mode, then until that host has entered maintenance-mode, these virtual machines will be on at most Vcenter Compute Policies Capabilities Vm Placement Span Limit NumberOfHostsPlusOneForMaintenance CreateSpec.number_of_hosts plus one number of hosts.

This property was added in vSphere API 9.0.0.0.